package com.gzist.elderlyserviceplatform.service;


import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.gzist.elderlyserviceplatform.common.base.BaseDTO;
import com.gzist.elderlyserviceplatform.entity.dto.InfoNamePageDTO;
import com.gzist.elderlyserviceplatform.entity.po.Activity;
import com.baomidou.mybatisplus.extension.service.IService;
import com.gzist.elderlyserviceplatform.entity.vo.ActivityListByLatestVO;

import java.util.List;

/**
 * 公益活动表 服务类
 */
public interface ActivityService extends IService<Activity> {
    /**
     * 查询公益活动列表
     * @param
     * @return
     */
    Page<Activity> queryPage(InfoNamePageDTO infoNamePageDTO);


    List<ActivityListByLatestVO> listActivityLatest();

    Page<Activity> listActivity(BaseDTO baseDTO);
}
